//
//  CRMessageMaker.h
//  TestPrj
//
//  Created by 朱铅峰 on 2020/9/28.
//  Copyright © 2020 Xing. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CRMessage.h"

NS_ASSUME_NONNULL_BEGIN

@interface CRMessageMaker : NSObject

+ (CRMessage*)msgWithText:(NSString *)text;

+ (CRMessage *)msgWithAudio:(NSString *)filePath;

+ (CRMessage *)msgWithImage:(UIImage *)image;

+ (CRMessage *)msgWithImagePath:(NSString *)path;

+ (CRMessage *)msgWithImageData:(NSData *)data extension:(NSString *)extension;

+ (CRMessage *)msgWithVideo:(NSString *)filePath;

@end

NS_ASSUME_NONNULL_END
